package com.create.myworld.objects.derive.substance;

import com.create.myworld.objects.Substance;

/**
 * @author zcw
 * 工作
 */
public class Work extends Substance {

    /**
     * 工作奖励
     */
    private Long coin;

    /**
     * 工作时长(回合数)
     */
    private Long workRound;

    public Long getCoin() {
        return coin;
    }

    public void setCoin(Long coin) {
        this.coin = coin;
    }

    public Long getWorkRound() {
        return workRound;
    }

    public void setWorkRound(Long workRound) {
        this.workRound = workRound;
    }

    public Work(String name, Long coin, Long workRound){
        this.name = name;
        this.coin=coin;
        this.workRound=workRound;
    }
}
